package com.googlecode.everyidea.core.dao;

import com.googlecode.everyidea.core.model.Function;

public interface FunctionDAO {
    /**
     * 
     * This method corresponds to the database table S_FUNCTION
     *
     * 
     */
    void insert(Function record);

    /**
     * 
     * This method corresponds to the database table S_FUNCTION
     *
     * 
     */
    int updateByPrimaryKey(Function record);

    /**
     * 
     * This method corresponds to the database table S_FUNCTION
     *
     * 
     */
    int updateByPrimaryKeySelective(Function record);

    /**
     * 
     * This method corresponds to the database table S_FUNCTION
     *
     * 
     */
    Function selectByPrimaryKey(String functionId);

    /**
     * 
     * This method corresponds to the database table S_FUNCTION
     *
     * 
     */
    int deleteByPrimaryKey(String functionId);
}